Security Assertion Markup Language(SAML) is widely adopted and supported by many identity and access management solutions, making it a highly interoperable standard.

SAML enables seamless integration between different systems and platforms, regardless of their underlying technologies or implementations including enabling secure single sign-on (SSO) across different domains or systems.

SAML uses the extensible markup language-based (XML) framework for describing and exchanging security information. The security information is maintained in SAML assertions that work between trusted security domain boundaries, particularly between an identity provider (IdP) and a service provider (SP).

SAML components include:

One of the primary use cases of SAML is to enable SSO across multiple applications or services. The figure illustrates the SAML process for a simple web app sign-on use case.

Figure: SAML and web app sign-on

With SAML SSO, a user logs in once to an identity provider (IdP), which authenticates the user. Upon successful authentication, the IdP issues a SAML assertion containing information about the user’s identity and authentication status. The user’s browser then forwards this SAML assertion to the service provider (SP), which trusts the IdP. The SP uses the information in the assertion to make fine-grained access control decisions based on user roles, group memberships, or other user characteristics. This attribute-based access control enhances security and flexibility in managing access to resources.